<link href="../addons/jy_merchjifee/resource/css/style.css" rel="stylesheet">
<style type="text/css">
	.icon1 {
		width: .8rem; height: .8rem;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
</style>

<div class="fui-page fui-page-current page-commission-index ">
	<div class="fui-header">
		<div class="fui-header-left" ng-click='goback()'>
			<a class="back"></a>
		</div>
		<div class="title">{{pagedata.setting.agent_center}}</div>
		<div class="fui-header-right"></div>
	</div>
    <div class='fui-content'>
	<div class="headinfo" style="padding-bottom:1.5rem">
	    <div class="userinfo" style="height: auto;width:100%">
			<div class='fui-list'>
				<div class='fui-list-media'><img ng-src="{{tomedia(pagedata.member.avatar)}}" /></div>
				<div class='fui-list-info'>
					<div class='title'>{{pagedata.member.nickname}} （{{pagedata.team.levelname || '预选团长'}}）</div>
					<div class='subtitle'>
						{{pagedata.member.mobile || '无手机'}}
						<i class='icon icon-phone' style='font-size:8px;'></i>
					</div>
					<div class='text'>
						上级：{{pagedata.shangji.nickname || '总平台'}}
						(<i class='icon icon-dianpu' style="font-size:0.6rem">{{pagedata.myshop.merchname || '商户'}}</i>)
					</div>
				</div>
			</div>
		
	    </div>
	</div>
	<div style="padding:0 0.5rem">
	<div class="radius fui-icon-group noborder col-2" style="background:#fff;margin-top:-1.5rem">
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;">总人数(团队)</div>
														<div class="text bold" style="line-height:1.6rem;font-size:1rem">{{pagedata.data.agent_num || 0}}</div>
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;">总业绩(团队)</div>
														<div class="text bold" style="line-height:1.6rem;font-size:1rem">{{pagedata.data.agent_fee || 0.00}}</div>
														
													</div>
					</div>
	</div>
	<div class="fui-cell-group">
			<div class="fui-cell"style="height: 2.85rem;">
				<div class="fui-cell-icon">
					<i class="icon jinyunicon icon-qrcode"></i>
				</div>
				<div class="fui-cell-text">我的邀请码：{{pagedata.member.mid}}
				</div>
			</div>
		</div>
		<div class="fui-block-group col-2" style='overflow: hidden;'>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('/credit_log/main/')">
                <div class="icon " style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
                <div class="text new">
					<div class="title">{{pagedata.setting.commission_total}}</div>
                    <div class=""><span>{{pagedata.data.commission_total || 0.00}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external" href="javascript:;" ng-click="access_json('/credit_log/main/')">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.zhi_total ||'直推奖励'}}(明细)</div>
					<div class=""><span>{{pagedata.data.zhi_money || 0.00}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external" href="javascript:;" ng-click="access_json('/credit_log/main/')">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.ji_total ||'极差分红'}}(明细)</div>
					<div class=""><span>{{pagedata.data.ji_money || 0.00}}</span> 元</div>
				</div>
            </a>
            <a class="fui-block-child new external" href="javascript:;" ng-click="access_json('/order/main')">
                <div class="icon" style="color: #9ec9f4;"><i class="icon jinyunicon icon-dingdan"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.agent_order ||'团队订单'}}</div>
					<div class=""><span>{{pagedata.team.order_num || 0}}</span> 笔</div>
				</div>
            </a>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('/down/main')">
                <div class="icon" style="color: #ffbe2e;"><i class="icon jinyunicon icon-wodeqianbao"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.agent_tagent ||'我的团队队员'}}</div>
					<div class="">总<span>{{pagedata.data.agent_num || 0}}</span> 人（直推:{{pagedata.data.area_num || 0}}人）</div>
				</div>
            </a>
	</div>
		<div ng-if="pagedata.pluginset.no_code!=1" class="fui-cell-group">
			<a href="javascript:;" ng-click="access_json('jy_merchjifee/qrcode/main')" class="fui-cell">
				<div class="fui-cell-icon ">
					<i class="icon jinyunicon icon-erweima text-yellow"></i>
				</div>
				<div class="fui-cell-text">推广二维码</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</a>
		</div>
		</div>
</div>

</div>
<div ng-include="sys_html('_footer')"></div>